/*
 * XML Type:  XTree
 * Namespace: http://www.seedwill.com/xul/widget/
 * Java type: com.seedwill.xul.widget.XTree
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.widget.impl;
/**
 * An XML XTree(@http://www.seedwill.com/xul/widget/).
 *
 * This is a complex type.
 */
public class XTreeImpl extends com.seedwill.xul.widget.impl.XInputImpl implements com.seedwill.xul.widget.XTree
{
    private static final long serialVersionUID = 1L;
    
    public XTreeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName IDSCHEMA$0 = 
        new javax.xml.namespace.QName("", "idSchema");
    private static final javax.xml.namespace.QName NAMESCHEMA$2 = 
        new javax.xml.namespace.QName("", "nameSchema");
    private static final javax.xml.namespace.QName ICONSCHEMA$4 = 
        new javax.xml.namespace.QName("", "iconSchema");
    private static final javax.xml.namespace.QName PARENTSCHEMA$6 = 
        new javax.xml.namespace.QName("", "parentSchema");
    private static final javax.xml.namespace.QName ASROOTSCHEMA$8 = 
        new javax.xml.namespace.QName("", "asRootSchema");
    
    
    /**
     * Gets the "idSchema" element
     */
    public java.lang.String getIdSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDSCHEMA$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "idSchema" element
     */
    public org.apache.xmlbeans.XmlString xgetIdSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDSCHEMA$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "idSchema" element
     */
    public void setIdSchema(java.lang.String idSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDSCHEMA$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDSCHEMA$0);
            }
            target.setStringValue(idSchema);
        }
    }
    
    /**
     * Sets (as xml) the "idSchema" element
     */
    public void xsetIdSchema(org.apache.xmlbeans.XmlString idSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDSCHEMA$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(IDSCHEMA$0);
            }
            target.set(idSchema);
        }
    }
    
    /**
     * Gets the "nameSchema" element
     */
    public java.lang.String getNameSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAMESCHEMA$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "nameSchema" element
     */
    public org.apache.xmlbeans.XmlString xgetNameSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAMESCHEMA$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "nameSchema" element
     */
    public void setNameSchema(java.lang.String nameSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAMESCHEMA$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAMESCHEMA$2);
            }
            target.setStringValue(nameSchema);
        }
    }
    
    /**
     * Sets (as xml) the "nameSchema" element
     */
    public void xsetNameSchema(org.apache.xmlbeans.XmlString nameSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAMESCHEMA$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NAMESCHEMA$2);
            }
            target.set(nameSchema);
        }
    }
    
    /**
     * Gets the "iconSchema" element
     */
    public java.lang.String getIconSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ICONSCHEMA$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "iconSchema" element
     */
    public org.apache.xmlbeans.XmlString xgetIconSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ICONSCHEMA$4, 0);
            return target;
        }
    }
    
    /**
     * Sets the "iconSchema" element
     */
    public void setIconSchema(java.lang.String iconSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ICONSCHEMA$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ICONSCHEMA$4);
            }
            target.setStringValue(iconSchema);
        }
    }
    
    /**
     * Sets (as xml) the "iconSchema" element
     */
    public void xsetIconSchema(org.apache.xmlbeans.XmlString iconSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ICONSCHEMA$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ICONSCHEMA$4);
            }
            target.set(iconSchema);
        }
    }
    
    /**
     * Gets the "parentSchema" element
     */
    public java.lang.String getParentSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PARENTSCHEMA$6, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "parentSchema" element
     */
    public org.apache.xmlbeans.XmlString xgetParentSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PARENTSCHEMA$6, 0);
            return target;
        }
    }
    
    /**
     * Sets the "parentSchema" element
     */
    public void setParentSchema(java.lang.String parentSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PARENTSCHEMA$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PARENTSCHEMA$6);
            }
            target.setStringValue(parentSchema);
        }
    }
    
    /**
     * Sets (as xml) the "parentSchema" element
     */
    public void xsetParentSchema(org.apache.xmlbeans.XmlString parentSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PARENTSCHEMA$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PARENTSCHEMA$6);
            }
            target.set(parentSchema);
        }
    }
    
    /**
     * Gets the "asRootSchema" element
     */
    public java.lang.String getAsRootSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASROOTSCHEMA$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "asRootSchema" element
     */
    public org.apache.xmlbeans.XmlString xgetAsRootSchema()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ASROOTSCHEMA$8, 0);
            return target;
        }
    }
    
    /**
     * Sets the "asRootSchema" element
     */
    public void setAsRootSchema(java.lang.String asRootSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASROOTSCHEMA$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ASROOTSCHEMA$8);
            }
            target.setStringValue(asRootSchema);
        }
    }
    
    /**
     * Sets (as xml) the "asRootSchema" element
     */
    public void xsetAsRootSchema(org.apache.xmlbeans.XmlString asRootSchema)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ASROOTSCHEMA$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ASROOTSCHEMA$8);
            }
            target.set(asRootSchema);
        }
    }
}
